package com.irdstudio.apicenter.console.dm.platform;

import java.sql.SQLException;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.irdstudio.apicenter.console.dm.AppTradeCommon;
import com.irdstudio.apicenter.console.dm.AppTradeCommonDao;

@Service(value = "publicTradeService")
public class PublicTradeService {
	@Autowired
	AppTradeCommonDao appTradeCommonDao;

	/**
	 * 获取平台交易列表信息
	 * 
	 * @param id
	 * @param name
	 * @param pageNowe
	 * @param pageSiz
	 * @return
	 * @throws SQLException
	 * @throws ClassNotFoundException
	 */
	public List<AppTradeCommon> querylist(String sql) throws SQLException,
			ClassNotFoundException {

		return appTradeCommonDao.queryWithCond(sql);

	}

}
